<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head th:replace="common/head :: common_head(~{::title},~{})">
  <title>财税风险分析系统|财务报表</title>
</head>

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <div th:replace="common/header-user :: header"></div>
  
  <div th:replace="common/aside-user :: aside"></div>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  
    <section class="content-header">
      <h1 id="page-title" active-aside="analysis-aside" active-menu="report-financial-index-menu">财务报表
        <small>2017年度</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-list"></i> 财务报表</a></li>
        <li class="active">资产负债表</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content container-fluid">
      <div class="row">
        <div class="col-sm-12">
          <div class="box">
            <div class="box-header with-border">
              <h3 class="box-title">资产负债表<small>&nbsp;&nbsp;&nbsp;&nbsp;企业会计制度适用</small></h3>
              <h3 class="box-title pull-right"><small>单位：元</small></h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table class="table table-bordered">
                <tr>
                  <th width="20%">资产</th>
                  <th width="5%">行次</th>
                  <th width="11%">期初数</th>
                  <th width="11%">期末数</th>
                  <th width="25%">负债和所有者权益（或股东权益）</th>
                  <th width="5%">行次</th>
                  <th width="11%">期初数</th>
                  <th width="11%">期末数</th>
                </tr>
                <tr>
                  <td>流动资产：</td>
                  <td></td>
                  <td class="has-error">
                    <input type="number" step="0.01" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" step="0.01" class="form-control input-td" placeholder="0.00" onkeyup="amount(this)">
                  </td>
                  <td>流动负债：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>货币资金</td>
                  <td>1</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>短期借款</td>
                  <td>68</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>短期投资</td>
                  <td>2</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付票据</td>
                  <td>69</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>应收票据</td>
                  <td>3</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付账款</td>
                  <td>70</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>应收股利</td>
                  <td>4</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>预收账款</td>
                  <td>71</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>应收利息</td>
                  <td>5</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付工资</td>
                  <td>72</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>应收账款</td>
                  <td>6</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付福利款</td>
                  <td>73</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>其他应收款</td>
                  <td>7</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付股利</td>
                  <td>74</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>预付账款</td>
                  <td>8</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应收税金</td>
                  <td>75</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>应收补贴款</td>
                  <td>9</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>其他应交款</td>
                  <td>80</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>存货</td>
                  <td>10</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>其他应付款</td>
                  <td>81</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>待摊费用</td>
                  <td>11</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>预提费用</td>
                  <td>82</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>一年内到期的长期债权投资</td>
                  <td>21</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>预计负债</td>
                  <td>83</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>其他流动资产</td>
                  <td>24</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>一年内到期的长期负债</td>
                  <td>86</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>流动资产合计</td>
                  <td>31</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>其他流动负债</td>
                  <td>90</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>长期投资：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td></td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>长期股权投资</td>
                  <td>32</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>流动负债合计</td>
                  <td>100</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>长期债权投资</td>
                  <td>34</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>长期负债：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>长期投资合计</td>
                  <td>38</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>长期借款</td>
                  <td>101</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>应付债券</td>
                  <td>102</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产原价</td>
                  <td>39</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>长期应付款</td>
                  <td>103</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>减：累计折旧</td>
                  <td>40</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>专项应付款</td>
                  <td>106</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产净值</td>
                  <td>41</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>其他长期负债</td>
                  <td>108</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>减：固定资产减值准备</td>
                  <td>42</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>长期负债合计</td>
                  <td>110</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产净额</td>
                  <td>43</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>递延税项：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>工程物资</td>
                  <td>44</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>递延税款贷项</td>
                  <td>111</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>在建工程</td>
                  <td>45</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>负债合计</td>
                  <td>114</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产清理</td>
                  <td>46</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td></td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>固定资产合计</td>
                  <td>50</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>所有者权益（或股东权益）：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>无形资产及其他资产：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>实收资本（或股本）</td>
                  <td>115</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>无形资产</td>
                  <td>51</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>减：已归还投资</td>
                  <td>116</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>长期待摊费用</td>
                  <td>52</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>实收资本（或股本）净额</td>
                  <td>117</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>其他长期资产</td>
                  <td>53</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>资本公积</td>
                  <td>118</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>无形资产及其他资产合计</td>
                  <td>60</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>盈余公积</td>
                  <td>119</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td></td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>其中：法定公益金</td>
                  <td>120</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>递延税项：</td>
                  <td></td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>未分配利润</td>
                  <td>121</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>递延税款借项</td>
                  <td>61</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>所有者权益（或股东权益）合计</td>
                  <td>122</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
                <tr>
                  <td>资产合计</td>
                  <td>67</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>负债和所有者权益（或股东权益）总计</td>
                  <td>135</td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                  <td>
                    <input type="number" class="form-control input-td" placeholder="0.00">
                  </td>
                </tr>
              </table>
            </div>
            <!-- /.box-body -->
            <div class="box-footer clearfix">
              <button type="button" class="btn btn-block btn-success">保存</button>
            </div>
          </div>
          <!-- /.box -->
        </div>
      </div>
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  
  <div th:replace="common/footer :: footer"></div>

  <!-- Add the sidebar's background. This div must be placed
  immediately after the control sidebar -->
  <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<div th:replace="common/script :: script"></div>

<script>
  function amount(obj){
    obj.value = obj.value.replace(/[^\d.]/g,"");  //清除“数字”和“.”以外的字符  
    obj.value = obj.value.replace(/\.{2,}/g,"."); //只保留第一个. 清除多余的  
    obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$","."); 
    obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3');//只能输入两个小数  
    if(obj.value.indexOf(".")< 0 && obj.value !=""){//以上已经过滤，此处控制的是如果没有小数点，首位不能为类似于 01、02的金额 
        obj.value= parseFloat(obj.value); 
    }  
    //obj.value = new Number(obj.value).toFixed(2);
  }
</script>

</body>
</html>